package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {
    Integer saveData1(String name, Integer age, String sex);

    Integer saveData2(Review review);

    Integer update(Review review);

    Integer delete(Long id);

    Review getById(Long id);

    List<Review> selectAll();
}
